package cn.wolfcode.shop.service;

import cn.wolfcode.shop.domain.UserInfo;
import cn.wolfcode.shop.mapper.UserInfoMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;


@Service
@Transactional
public class UserInfoServiceImpl implements IUserInfoService{

    @Autowired
    UserInfoMapper userInfoMapper;

    @Override
    public UserInfo getById(Long id) {
        return userInfoMapper.selectByPrimaryKey(id);
    }
}
